package com.day0907;

import java.util.Scanner;

public class Text6_task {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("Java成绩为：");
        int scoreJ = in.nextInt();
        System.out.println("音乐成绩为：");
        int musicS = in.nextInt();
        if((scoreJ > 90 && musicS > 80) || (scoreJ == 100 && musicS > 70)){
            System.out.println("奖励一个苹果！");
        }
        else {
            System.out.println("无奖！");
        }

    }
}
